package cn.livingCloud.repository;

import cn.livingCloud.dto.Page;
import cn.livingCloud.entity.user.UserAccount;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by DingJie  on 2015/12/4.
 */
@Repository
public interface UserAccountMapper {

    List<UserAccount> findUserAccountList(Page userAccountListDto);

    UserAccount findUserAccountByUuid(String uuid);

    void updateEnable(UserAccount userAccount);

    void update(UserAccount userAccount);

    void deleteAccount(String uuid);

    void updatePassword(UserAccount userAccountByUuid);

    List<UserAccount> checkUserName(String username);

    List<UserAccount> findUserAccountByEmployeeUuid(String uuid);
}
